// 使用一个变量that存this
var obj = { 
    count: 0, 
    cool: function coolFn() { 
    var that = this; 
    
    if (that.count < 1) { 
    setTimeout( function timer(){ 
    that.count++; 
    console.log( "awesome?",that.count ); 
    }, 100 ); 
    } 
    } 
   }; 
    
   obj.cool(); // 酷吧？